package cn.fsw.pethome.pet.service;

import cn.fsw.pethome.base.service.IBaseService;
import cn.fsw.pethome.org.domain.Employee;
import cn.fsw.pethome.pet.domain.SearchMasterMsg;
import cn.fsw.pethome.pet.domain.dto.MasterMsgDTO;
import cn.fsw.pethome.pet.query.SearchMasterMsgQuery;
import cn.fsw.pethome.user.domain.User;
import cn.fsw.pethome.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fsw
 * @since 2022-10-26
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void add(SearchMasterMsg searchMasterMsg, User user);


    PageList<SearchMasterMsg> pageSelevtAll(SearchMasterMsgQuery query, Employee employee);

    void accept(MasterMsgDTO dto);

    void reject(MasterMsgDTO dto);
}
